Added better handling for attempting to take a picture with denied
access to the photo library while the settings panel is expanded