added eventkey as argument of isclickevent