Added spinner while loading is active