{
      if (removeCommand == null || ownerList.size() > index && ownerList.get(index) == oldValue)
      {
        ownerList.set(index, value);
      }
      else
      {
        ownerList.add(index, value);
      }
    }