Adding tabs and switching between them.