In theory, you should be able to go to your Account page, click on Change under CONTACT INFO there, and by picking a different country, the flag should change, too.
(Although some users have reported the bug that the flag only changes for the game window & not for the profile page or for your avatar in these forum posts.)