Can't select MenuItems

Hi, I created my own menuBar, I implemented MenubarModel, ApplicationCommandTarget ecc. and all works. My problem is that when I open a menu all items inside are not selectable and also if I press my key combination to invoke command nothing happens.