Fixed a bug where the “Done” button wasn’t closing the keyboard.
Code cleaned up.