Preparing double click functino for click-edit.