Added key events to the demo