added check to avoid errors if user tries to make invite without having any contacts, or doesnt select a contact
Merge pull request #8 from kaplanoah/master

Added checks to avoid errors when creating invites