Move applyTrainerAppSelection and applyTargetSelection functions to a new
shared lib/utils/trainer_setup.dart file so they can be reused by both
ConfigurationPage and the onboarding wizard.
- applyTrainerAppSelection: stops unsupported emulators, initializes action
handler, starts enabled connection method
- applyTargetSelection: sets last target, enables OBP/local methods as needed
Configuration page delegates to these shared functions while maintaining
call-site behavior via onUpdate() callback.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>