add OnKey Event