bug fix - onBackPressed