alarmmanager fixes