Add perform click function for button component