How can I move to the next page after selecting an option from dropdown field?