fixes addition of indexedDB items
deletes all logs