Language change bug fix

This fix keeps the selected language the same when navigating to other pages. Credit goes to vxd for the fix.