Fix crash if there is no back button