Completed double click edit functionality