Event to register to alarm manager.