Added verification on invitations

Only preceedings with status 1 can be accepted or declined.