takeAndSavePicture error handling