Modify the BaseFragment.java and BaseFragmentActivity.java.