Sidebar wasn't refreshing its view correctly