Added loading icon for the Main view