Instead of creating a new context menu and setting it with setContextMenu, simply clear and modify the existing context menu.
Instead of creating a new context menu and setting it with setContextMenu, simply clear and modify the existing context menu.