saving global and local parameters set right in settings page