MIDI.sendControlChange() to toggle a button in Ableton

Hello! I realize this thread might be old, but I was wondering if you could send the Arduino code that you fixed, as I have it working, but it's a button just turning things on and off (still very exciting). Also, this is all very new and exciting for me! Thank you! and thank you to Gustavo Silveira for the Udemy course!