added button press to take camera image