added spinner for generating and downloading a report