Display spinner icon when asynchronous tasks are done