Bound addXO() to click event by adding the function to the controller and using