Fixed activity indicator did not show after clicking refresh button