Does the alarm activate when the phone is turned OFF (eg overnight), or does it have to be left on permanently?