Added delay for keyup event.