Are you using the Logitech software to assign keys to those buttons? Do that instead of trying to use their "quick macro" function. Most likely that's your problem.