Fixed issue where couldn't spin more than three times and made spin automatically on page load.
Ensured loading is completed before spinner starts.