added refresh button to statistics