Improved performance of CreatePingFragment and appearance of MainFragment