Added first code for the settings window.