FACILITY-22 - Bug fix if user selects entire text in the box before typing