Consider a ball B and let $f(x) \in L^1(B)$ such that $\int_B f(x) dx = 0$. Furtheremore, there exists a closed set $E \subset B$ such that $f|_E$ is Lipschitz. The standard Lipschitz extension theorem gives a function $g$ which is Lipschitz on $B$ such that $g|_E=f$.
My question is the following: Is there a construction that additionally gives $\int_B g(x) dx = 0$?