adding spinner stop/clear functionality