Fixed an old bug that stay unnoticed for a while. The way the settings was save was wrong...it was using the old data_peak method for all the parameters.