Correctly handle titles of tab views — this took me three hours to figure out — f apple