store value for checkbox. and read SharedPreferences