Prevent MainActivity from showing up when back button clicked.