Added method to take picture from camera