Change main activity or navigation activity to fragment