While generating, the spinner should have a stop button which will cancel currently running generation.