Included function to update sidebar

This update brings back the sidebar activity:

![activity-bar]
(http://new.tinygrab.com/3fe170195399618a371b20d0c5d030f3983660b02c.png)