Whenever I plug my macbook into my external keyboard at work, the keyboard viewer awindow utomatically opens up.

How do I prevent the keyboard viewer from automatically showing?

If possible, i'd like to keep the input sources menubar item visible (the little American flag on the menu bar).