Saving new settings sets variables in controller