Added textFieldDoneEditing and backgroundTap to exit the virtual keyboard from the screen when user has done entering text into the textfields.