sound playing and color switch