As a safety measure, also check for the empty string
Always remember the last visited language