Added settings to the main form.