Add code for activate item in tab/pill view