Create AlarmManager to manage alarms.