Adding reset functionality to alarms