Use LSUIElement instead of setActivationPolicy to allow tooltip to work.
Allow menu items to be enabled/disabled dynamically.

The Enabled callback is called whenever the menu appears via
validateMenuItem.