Fixed so alarm set when pressed while alarm is going off will not keep
toggle pin in its last state.