Able to write records to indexedDB

Had trouble because I forgot the right keypath = timestamp.value (i used
only timestamp in the beginning)