Change pagerAlarm to onAlarm