fix to show spinner when promise is being loaded and refresh the list wh...

...en the promise has returned data.