Added option to move back from fragment to fragment on key pressed
Changed name of MainActivity to LoggingActivity