private JPanel getAdvancedConfigurationMenuHandler(final JButton editButton, final JButton deleteButton){
        // Create the advance panel
        JPanel panel = new JPanel(new FlowLayout(FlowLayout.LEFT));
        // -------- Add the Edit button -------- //
        editButton.setToolTipText("Edit - " + getCleanName(currentSphinxConfiguration));
        editButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                try {
                    // Load Sphinx properties in a gui for the user the modify it
                    SphinxPropertiesWindow sphinxPropertiesWindow = new SphinxPropertiesWindow(currentSphinxConfiguration);
                    // If the Sphinx Configuration name is different then update the file
                    if (!currentSphinxConfiguration.equals(sphinxPropertiesWindow.getSphinxPropertyFileName())) {
                        // Update the current file
                        currentSphinxConfiguration = sphinxPropertiesWindow.getSphinxPropertyFileName();
                        // Update the Sphinx Manager Configuration File
                        SpeechManager.getInstance().setSpeechConfiguration(currentSphinxConfiguration);
                    }
                    // Update the drop down values
                    populateSphinxConfigurationsDropDown(currentSphinxConfiguration);
                    // Enable the button if there's more than one items
                    if (sphinxConfigurations.getItemCount() > 1) {
                        deleteButton.setEnabled(true);
                    }else {// Disable the button if there's only one item
                        deleteButton.setEnabled(false);
                    }
                } catch (IOException ioe) {
                    ioe.printStackTrace();
                    JOptionPane.showMessageDialog(null, ioe.getMessage(), "Sphinx Configuration Error", JOptionPane.ERROR_MESSAGE);
                }
            }
        });
        // the edit button to the panel
        panel.add(editButton);
        // -------- Add the Delete button -------- //
        deleteButton.setToolTipText("Delete - " + getCleanName(currentSphinxConfiguration));
        deleteButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                // Delete the current file - Do not delete if there's one file left
                if(sphinxConfigurations.getItemCount() > 1){
                    // Keep the file name to be delete
                    String fileToDelete = (String) sphinxConfigurations.getSelectedItem();
                    // Delete the current file
                    if(FileUtils.deleteFile(sphinxConfigurationPath + fileToDelete + SphinxPropertiesWindow.SphinxConfigurationSuffix)){
                        // Remove the current file from the drop down
                        sphinxConfigurations.removeItem(fileToDelete);
                        // Select the fist time
                        sphinxConfigurations.setSelectedIndex(0);
                        // If there's only 1 item then disable the delete button
                        if(sphinxConfigurations.getItemCount() == 1){
                            deleteButton.setEnabled(false);
                        }
                    }
                }
            }
        });
        // Add the delete button to the panel
        panel.add(deleteButton);
        // Return the panel to the user
        return panel;
    }