wired addComponent method to new_component_button and made button active