#20 save changes to editable imput

save the first text if the new text is duplicate