Fix Android back button behavior