Exercise 6 - Fixed visual bugs. Added loading spinner