Fix for issue #235, check for KEY_CODE_YES