Added setComponentState() to all components