Script to reenable Trackpad zoom

Are you able to describe what you use to detect the issue?

I found a way to re-set the System Preferences checkbox using a system call if you wanna check it out: Weird interaction makes trackpad's zoom not work

So I'm thinking of implementing some kind of background thing to run it periodically