Added the titles to the tabs