Added implementation for Back button in Android.