Adding the text field delegate