Added storage of device_info, file_id to indexedDB

When hrv enabled to identically sets device_info records are recorded.
One at the start, and one right after stop is pressed. This seems
redudant, and I don't understand why unless there was a device setup
change.