Fix unselect index bug

Skip setSelected If parameter is -1(unselected)