Switch the PhotoActivity to the MainActivity