Cancel button goes back to main page to take a picture