Save language preference in local storage