adding alarm in an alarm page