Remove duplication of tabbar html code in task views