methods like setDBProperty and getDBProperty work slow, if are used several times one after another. Example:
Each getDBProperty-call does localStorage.getObject which may be slow if readable object is too big (it may take 100-150 ms). So, it's better to read list of values with one call, like:
And same for setDBProperties.