Fixed addAlarm, fully working