one more question, the MainWindow initially keeps the default setting value..
Why do you ask for explicit information then ignore it?

because I cannot find any other way to keep the updated values as the settings window loses all data each time it is closed?
No. It seems like you didn't read anything from the post you quoted.