Get the iOS sample working semi-properly again. Track button clicks in both samples.