Created function for storing new-tab-content into the tabTitles and tabContent arrays.