Added function to view task page for sending SMS