Add a spinner while loading the data