fixing android back button behavior