Insert item and set selected index