Added light sensor configuring