Fix offline updating - fixes #12

Actually, the stored data was updating perfectly, but we weren't
updating the cached data to match it until the page was reloaded.

Also, we are now saving only when something changes.  Probably.