Fix spinner when make a request