change backbutton handler