now send message form saves to localstorage periodically