Move saving interval to settings file.