Fixed backbutton behavior