started IndexedDB class and made a first function call on button click