end of refactoring of the widgets
refactoring of settingswindow