HiFiBerry DAC+ and on/off button, can I get it to work?


I have manage to build a on/off button using this tutorial. The setup works fine with my Raspberry Pi B+ and Musicbox.

Now I was wandering if this setup would also work in combination with a HiFiBerry DAC+?
Dose someone have any experience with such a setup, or can help me with my little project?