key_hook for KeyPress event added