apply changes to page to save to local storage.

a possible fix to #56
Merge pull request #57 from fedwiki/paul90/i56

apply changes to page to save to local storage.