public void editMusic(Music editMusic, String newName, String newAuthor, String newAlbum,
            int newYear) {
        String title = editMusic.getName();
        String album = editMusic.getAlbum();
        for (Music m : musicsList) {
            if (m.getName().equalsIgnoreCase(title) && m.getAlbum().equalsIgnoreCase(album)) {
                m.setName(newName);
                m.setAuthor(newAuthor);
                m.setAlbum(newAlbum);
                m.setYear(newYear);
            }
        }
    }