Update DatastoreAccess.java

Creates DeviceId,OptionId & historyId at the startup!!