Add switching threads from tabs