public void restoreCurrentBackground(){
  if (savedBackground.isPresent()) {
    setArenaBackground(savedBackground.get());
    savedBackground=Optional.empty();
  }
 else {
    setArenaBackground(null);
  }
}

public void restoreCurrentBackground ( ) { if ( savedBackground . isPresent ( ) ) { setArenaBackground ( savedBackground . get ( ) ) ; savedBackground = Optional . empty ( ) ; } else { setArenaBackground ( null ) ; } }
used to restore the background that was saved before autocalibration with savecurrentbackground .
