Make selected items editable by double clicking on them

Upon double clicking on selected item, sends its value back to input field and removes the original tag, in order to be able to correct typo mistakes.

*Only applies if allowFreeEntries is true.