[UnifiedDataStore] Store events to DB before execute actions

TODO: Investigate side effects