Click square button to generate a prompt