Full auto memory

In case you would rather accept a single pull request instead of the three pieces. Here is a pull request that contains the other three pull requests. It adds the following functionality
1. Detection of Cancel
2. Automatic creation of JSON object (No longer necessary to update HTML form and JSON object)
3. Session based memory. (In short all form values are remembered for the duration of the watch app session.)