Fix bug: update UITextField value by key press