Research on activeComponents and buttons
Research on foreach