Changed setting Save method to use params struct