Double-click to switch on/off the pop-up menu