Fixed invalid registration methodology for menubar