Implemented RFE suggested by @pwalczysko

Do not reset the text if the name is not unique and
already selected.
Fix tag creation when tag selected and tag in tagset.