You need a different event to handle the text, as you are updating it based on the calendar invite events (which you clearly aint using).
The event is
CALENDAR_UPDATE_PENDING_INVITES
You can also see how I handled it in pMinimap:
http://github.com/p3lim/pMinimap/blo...p.lua#L269-274