Change key assign behavior in text box.