Override onBackPressed in RunActivity and DetailActivity