Added loading spinner to MainActivity