Add saving and resetting settings

Create two buttons that can save and reset settings. Resetting a setting
will bring the `defaultValue` back.