Add storeEvent method to utils