connecting settings to GUI