Added more flexibility with active + disabled tab