preferences.edit().putString("nodeInfo", Gson().toJson(nodeInfo)).remove("instance").apply()