Added proper catch for takePicture