Added functionality to keyword textbox.