public void saveConnections(String[] connections) {
   connectionsPreferenceValue.set(connections);
 }
 public String[] loadConnections() {
   return connectionsPreferenceValue.get();
 }