stored characters to indexeddb