Implemented basic reaction to activity data. The light will be turned off if the data is between 400 and 600, on otherwise.