change tab events count when rejecting and accepting invites