I figured this out. You need to add CommandBar to a CommandBars collection in your code and map it to the key "Item' if you want it to work for a single file. Do this in the OnConnected() method.
CommandBars cmdBars = (CommandBars)(_applicationObject.CommandBars);
CommandBar vsBarItem = cmdBars["Item"];