Refactor task-bar from view to component.