Fix edit-note socket event