adds a refresh event to which allows plugins to update the calendar and input field