added mixpanel button click functions