Clean up localstorage after sending a message