Fix backbuttons + masterdetail