Currently, if you click on a language it becomes your preferred language and appears at the top of the list of languages. This maybe an unwanted behavior as users may click on a language link accidentally.
Let's store a language as a preferred language only if the user selects it twice. On the third time, it will surface on top.