Adds a broadcast receiver to restart the alarm if necessary after the device boots. (PhotoGallery)