changed light sensor setting and scan activity parameters