implement alarm feature into app