1. Switch off the device and remove the battery from it.
2. Insert the battery back in and turn the phone back on. Yay, done.