Store QualityPofile properly
Fixed merge conflict