Get words on button click.