Added spinner when export to csv