Fix contextMenu save issue