/**
  * Set modes on start to match what is specified in the ConnectionBean; color mode (already done)
  * scaling, input mode
  */
 void setModes() {
   AbstractInputHandler handler = getInputHandlerByName(connection.getInputMode());
   AbstractScaling.getByScaleType(connection.getScaleMode()).setScaleTypeForActivity(this);
   this.inputHandler = handler;
   showPanningState(false);
 }