Added some handling for screenshot button being presseed while the app
does not have access to the user's photo library