Handle worker keyboard event