Fixed duplicate received invitations.

updateInvitationBadge being called twice when app launches. Worked
around for now, checking if invite already exists in the list then skip.