ugtrain: introduce 'process_act_cfg()'

It is much cleaner having the time critical processing of the
activated config values in a separate function.

Functionality is exactly the same.