FIXME: Don't know how to run the keyboard listener in different thread.
This cause blocking keyboard input before confirm the action.