Added git repository to Android Studio, removed unnecessary commitAllowingStateLoss fragment transaction