Bug 1101490 - Implement a new component for Rooms database management

I think that this early return does not make sense

```js
if (error) {
  reject(error)
} else {
 resolve(storedRecord);
}
```