How to switch a Scanner from Simple to Advanced mode?