set active item if found in the list