When switching keyboard layout (either pressing on the button or via a terminal command), the keyboard layout module doesn't sync with the visuals until a new workspace is in focus (there probably are other ways to refresh I imagine). I would be happy to see an instant update :)