[EDIT]onBackPressed Exit code style change

Modified code to avoid unexpected clear on main.xml