added alarm that listens to alarm manager