[UserConfig] Store items in a transaction.

Previously storing multiple items uses the same number of transactions.
In my environment, this patch reduces time of the JS browser test:
'store multiple value and get them' from approx 200ms to 80ms.