Fix bug that radio buttons are not refreshed when settings are changed.