replace setItemSelected by setSelected