changes text and removes button to generate