enable offline storage database