Changed mode selector to tabs