public void exit() {
       Logger.getLogger(MainInterface.class.getName()).entering(MainInterface.class.getName(), "exit");
       this.setVisible(false);
       if (readInterface != null) {
           readInterface.exit();
       }
       savePreferences();
       this.dispose();
       profiles.saveProfilesProperties();
       if (serie != null) {
           PropertiesManager.getInstance().setKey("lastSelectedSerie", serie.toString());
       }
       if (album != null) {
           PropertiesManager.getInstance().setKey("lastSelectedAlbum", album.toString());
       }
       PropertiesManager.getInstance().saveProperties();
       Logger.getLogger(MainInterface.class.getName()).log(Level.INFO, "Software is quitting normally !");
       LogInterface.getInstance().dispose();
       System.exit(0);
       Logger.getLogger(MainInterface.class.getName()).exiting(MainInterface.class.getName(), "exit");
    }