invalidate toggle cache when editing in the UI
Merge pull request #3422 from dimagi/toggle-cache

invalidate toggle cache when editing in the UI