mostly working, but must update lang when clicking flag