Proper handling of back-button on Android.