alarm: clean up code of alarm set
alarm: clean up code of alarm set

try to fix the condition when alarm set to 1 hours before 0:00
the alarm should be fire at one day before 23:00.

NOT Tested.
Should Test this code.

kzjeef/ShiftScheduler-iOS,kzjeef/ShiftScheduler-iOS,kzjeef/ShiftScheduler-iOS,kzjeef/ShiftScheduler-iOS,kzjeef/ShiftScheduler-iOS