Add a preference toggling the action taken when clicking the menu item.