'Next' button not working on first try