Make SinaglePaneActivity works for every type of Fragments
update gradle config