sync interval to the settings