fixed GUI refreshing problems of statisticsPanel