Add a settings button to the main window