Changed loading spinner to loading bar