Added checks LocalStorage and IndexDB