Fixed redirect to the previous page after changing the language