update and show selected lang icon in dropdown before page refresh