change class of the tab