/**
   * if the node is connected enable the gui otherwise attach a listener for do it when the node
   * connects
   */
  @Override
  protected void onResume() {
    super.onResume();

    if (mNode.isConnected()) {
      setUpConsoleService(mNode.getDebug());
    } else mNode.addNodeStateListener(mNodeStateChangeListener);
  } // onResume