refresh button and spinner animation