Refactor mainActivity + onBackPressed in mainActivity sluit applicatie af na tonen alertDialog