Update textinput.py

Reset self._keyboard variable