Added ability to edit alarms.