Added tracking to button click