Refresh button getting destroyed