private void savePriority() {
        try {
            for (Priority pri : getPriorityData().getAll()) {
                switch (pri.getName()) {
                    case "Hoch":
                        pri.setColor(btnPriorityHoch.getBackground().getRGB());
                        break;

                    case "Tief":
                        pri.setColor(btnPriorityTief.getBackground().getRGB());
                        break;

                    case "Mittel":
                        pri.setColor(btnPriorityMittel.getBackground().getRGB());
                        break;

                    default:
                        break;
                }

                UUID prioId = getPriorityData().save(pri);

                if( prioId == null ) {
                    JOptionPane.showMessageDialog(null, "Fehler beim Speichern der Priorität", "Priorität speichern", JOptionPane.ERROR_MESSAGE);
                }
            }
        } catch (SQLException e) {
            JOptionPane.showMessageDialog(null, e.getMessage(), "Priorität speichern", JOptionPane.ERROR_MESSAGE);
            LOGGER.error( e.getMessage() );
        }
    }