Solved sidebar refresh issue.