Fixed Designer view issues

Fixed the Designer view errors for SettingsForm.