Setup keyboard handlerE