Added night mode, and a checks to ensure that an alarm is not in "NotReady" mode before attempting to arm it.