Fixed bug of analyzePanel updating after refresh button clicked