How to skip pages based on user's answer?