rewriting fragment loading in main activity