tabActivated instead of tabChanged