device: Reorder the scan_interval setting switch