Updating validateLightSourceSettings for double