made TextInputObject work and put it into use (name select)
fixed bug, removing character when input is empty