Implemented language switch on dropdown click