Connected text field and button to code.