Add keyup event handler