Print with a very soft TPU, 100% infill and glue it with Cyanoacrylate.
If you rather buy it, you can go to my Etsy shop (free shipping worldwide):
https://www.etsy.com/fr/listing/1798060712/wahl-trimmer-power-button-replacement
The author marked this model as their own original creation.