Added unique ids to adhoc event adding