Update configStorage object before saving

This is done to assure that we have the latest changes from the UI when sending to server