Better input checking to avoid null pointer exception.

Althoug the default SEND intent should include the extra text there is not guarantee it does.