modified tab setActivedTab