fixed bug with turning alarms on/off via the context menu.