added ability to apply transformation function to entered char on keypress event