synchronize UI values and globalParameters variable