Use Render only when we get the data from indexeddb