setting current tab as related