changing refresh button animation to loading icon