some cleaning

Just some cleaning.
The changeState(State) action on component and subcomponent became setState(State).