Fixed the alarm not working properly for a time corresponding to tomorrow.