Fixed a bug where the content would be 'undefined' when there is no LocalStorage field named 'content'.