public void addCommandToOverflowMenu(Command cmd){
  checkIfInitialized();
  if (overflowCommands == null) {
    overflowCommands=new Vector<Command>();
  }
  overflowCommands.add(cmd);
  sideMenu.installRightCommands();
}

public void addCommandToOverflowMenu ( Command cmd ) { checkIfInitialized ( ) ; if ( overflowCommands == null ) { overflowCommands = new Vector < Command > ( ) ; } overflowCommands . add ( cmd ) ; sideMenu . installRightCommands ( ) ; }
adds a command to the overflow menu
