Switch to localstoragedb