Add 'save' button.

And make it functional.
Add toggle mode button.