Remove items from input

Changed selectItem to toggleItem to allow it to remove items from the
input.