Demo of handling Enter and arrow keys