Settings dialog implementaton moved into a separate class: this way it