Restore device settings