selectbox the option I chose goes back to the top

When the page is redirected, the language I chose in the box does not appear. At first, whatever is available is chosen. here is what I want to do: change option data