Menu create algorithm refactoring
Function Menu->AddItem marked as deprecated