Added refresh button to analytics