Submit form

- Wrote updateSettings function to submit form
- Disabled submit button when form is invalid and dirty