Writing the alarm settings menu