Set the component status