check string with isEmpty
display edit button instead of double click event
hide delete button while editing