Added checked function and applied to language setting.
Save setting to localStorage.