button reacts to enterted text