listening for keyevent to trigger actions