ActionEvent generate-button