Added settings page for retraining - training only occurs once