Fixed Alarm

+ Fixed name of variable in alarm functions