Add double click handler for editing