Add event trigger upon refresh