Added ALARM_OFF flag
Smaller minor cycle
Fixed formatting isseu
Fixed DISPLAY_OFF flag