Fixed "Next" button behavior.