added button to capture photo