If enter or exit send text