Make the text field’s delegate connection

Create a connection to a delegate than can dismiss the keyboard when the user taps the Done button.