Fix enable/disable alarm actions.