Small changes to text selection for the TextBox

- Made the TextBox lose its selection when focus is lost.
- Added Ctrl+A to select all text in the TextBox