Switch between two codes

Is it a big sketch? Then I don't want to see it but perhaps you can tell why autonomous mode prevents you from interrupting it?

Does your code use delay() or wait-loops?