Commentary onBackPressed method from GuiMain Class