Move context items out of the OnContext and OnPopup functions one by one... this one is AddRemove from favourites
The more context items we refactor, the more we can merge. Like the normal delete from favourites and the delete in the favourites dialog.
An idea how nested context items might fit my refactoring
Expose ContextMenuManager functionality via JSON, e.g. for the ios Remote
Let Addon Manager Handle the context menu. Core items are shown in the addon browser. The user can deactivate/activate them. Some can even have a setting (e.g. Play)