Clean import + Fix bug

Alarm was always enabled on phone reboot even if the user disabled it.