Fixed recognizing text commands bug
Reworked text command recognition