Modify code in AlarmReceiver.java and AlarmService.java.