refactored refresh function in StatisticsInfoPanel