Uses an ordered broadcast and a broadcast receiver to cancel notifications if the gallery is visible. (PhotoGallery).