changed event to Keytyped with char
fixed typo