Fix other app can not read preference.