Added saving device settings