/** Method to read the properties and adding them to the pane */
  private void readProperties() {
    ProfileProperties profile = PropertiesUtils.getProfile();

    // Musiclibrary properties
    musicLibraryPath.setText(profile.getPathToMusicLibrary());
    OrderingProperty orderIngProperty = profile.getOrderingMode();

    if (orderIngProperty == OrderingProperty.GAA) {
      orderingMode.setValue(GAA);
    } else if (orderIngProperty == OrderingProperty.AA) {
      orderingMode.setValue(AA);
    } else {
      orderingMode.setValue(AAA);
    }

    if (profile.getPlayListHeader().contains("german")) {
      playListHeaderMode.setValue(germanHeader);
    } else {
      playListHeaderMode.setValue(englishHeader);
    }

    // Import properties
    keepFiles.setSelected(profile.isKeepOriginalFiles());
    justTagFiles.setSelected(profile.isJustTagFiles());

    // Playlist properties
    playListExport.setSelected(profile.isPlayListExport());
    playListExportPath.setText(profile.getPlayListExportDir());
  }
  /**
   * Method to determine if a different ordering mode was chosen
   *
   * @param profile the original profile
   * @return boolean indicating whether a different ordering mode was chosen
   */
  private boolean differentOrderingMode(ProfileProperties profile) {
    OrderingProperty newProperty;

    if (orderingMode.getValue().equals(GAA)) {
      newProperty = OrderingProperty.GAA;
    } else if (orderingMode.getValue().equals(AA)) {
      newProperty = OrderingProperty.AA;
    } else {
      newProperty = OrderingProperty.AAA;
    }

    if (newProperty.equals(profile.getOrderingMode())) {
      return false;
    } else {
      return true;
    }
  }