Fix "Send" button label being ignored

Custom label for "Send" button was being ignored because of a wrong "if" logic.