Make sure only one alarm is registered at a time. Fixed alarm canceling logic.