Added a new method for the camera activity