Got the spinner working properly now