Fixed state saving bug in the mobile app via a WebSQL Key Value Store shim:
https://github.com/chipbell4/HTML5-Database-Key-Value-Store
Altered some eventing to make this work, and included the new database file into the application via index.html