Multimedia keys to control only iTunes in Windows 10


I have a main Logitech mx mouse and I have assigned multimedia commands (play / pause, next, previous … etc) to the mouse buttons. However, whenever iTunes is not the focus window, I cannot use the multimedia controls. Is there a way to use these commands even when i'm using another app but iTunes is still open in the background? Or is there a way to make the media controls specific to iTunes and no other application?