How can I activate the go button for the loop