Use designer preferences for repeat interval and button appearance.

Now using:

* `state.metadata.noundo` to show/hide the Undo button
* `state.metadata.norestart` to show/hide the Restart button (renamed from Reset)
* `state.metadata.key_repeat_interval` to change speed of swipe repeat.
* If unspecified, using 150 ms as swipe repeat interval.