set active tab with regard to the selected repo