IIRC, we based the button in XO to do both modification at the same time when you set it up for a VM (in the pool if it's not enabled and in the VM).

However, it's been a while I didn't check the code, I'll take a look to be sure 🙂