I had a similar problem when I changed out boosters.
I built a small bracket that bolted up to the pedal, so when it moved to the switch there was more surface area to hit the button on it.