Now we have the UI abstraction, use it to implement keyboard control