1. fixed an error in setting default shared preference