code: public void insertAdapterItem(TwinTextItem item, int index) {
          int selection = getSelectedItemPosition();
          Object selectedItem = getSelectedItem();
          ((PickerSpinnerAdapter) getAdapter()).insert(item, index);
          // select the new item if there was an equal temporary item selected
          if(selectedItem.equals(item))
              setSelectionQuietly(index);
          // otherwise keep track when inserting above the selection
          else if(index <= selection)
              setSelectionQuietly(selection+1);
      }
docs: Inserts the item at the specified index into the adapter's data set and takes care of handling selection changes.
  Always call this method instead of getAdapter().insert().
  @param item The item to insert.
  @param index The index where it'll be at.