Added an optional additional condition to be provided by user for enabling the Send button. This is where network connectivity condition may be implemented.