Binding unique table join to buttons