Connect autoload option to GUI control.