Fixed backbutton and db