Fix period flashing during edit
Fix editting alarm after rest