Added spinning animation for loading.