Thank you for your answer, but I managed to find another solution. However, it does not completely solve the problem. I can change languages, but one language remains inactive. To achieve this, I changed the method of the ShiftaleButton (). I attached my new solution as a file to this message. Thanks.