revert changes to alarms_controller