added a interval progress spinner to animate while waiting for result