enable/disable kbd handler in install_handler