added light control & sensor control activity