** The whole purpose of this code is to detect when we're in the state of having the UMS Enabled checkbox unchecked, but the SD-card is still being shared with the PC. In this case, the user has to unplug the USB cable in order to actually turn off UMS, and we put some text to that effect on the settings screen.
* ./js/onpair.js
** Deals with pairing of devices based on authentication of confirmation, pass code, or pin code.
* ./js/phone_lock.js
** create : when the user turns on passcode settings
** edit : when the user presses edit passcode button
** confirm : when the user turns off passcode settings
** new : when the user is editing passcode and has entered old passcode successfully
* ./js/security_privacy.js
* ./js/settings.js