Added a tracker to button click