Modified the back button callback to hide keyboard if its showing