Fixed issue when after clicking on disabled tab it switches on the next one