Refactor event binding
Edit component.json to reflect changes