code: private void reset() {
          setState(OADState.INACTIVE);
          currentImage = null;
          firmwareBundle = null;
          nextBlock = 0;
          oadListener = null;
          watchdog.stop();
          oadApproval.reset();
      }
docs: Set the state to INACTIVE and clear state variables