Save config datas using NSUserDefaults class.