private void removeSongButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_removeSongButtonActionPerformed
	List<Song> selected = ownedList.getSelectedValuesList();
	for (Song s : selected) {
		if(currUser.getLibrary().hasWaitingList(s))
		{
			Queue<User> users = currUser.getLibrary().getWaitingListUsers(s);
			for(User u : users)
			{
				u.addNotification(s.getName() + " is no longer available.");
			}
		}
		List<User> friends = currUser.getFriends();
		for (User f : friends) {
			if (f.getLibrary().borrowed().contains(s)) {
				mMngr.takeBack(f, s);
				f.addNotification(s.getName() + " has been removed.");
			}

		}

		Map<String, Library> playlists = currUser.getLibrary().getPlayLists();
		for (Map.Entry<String, Library> entry : playlists.entrySet())
		{
			if(entry.getValue().contains(s))
			{
				entry.getValue().removeSong(s);
			}
		}
		currUser.getLibrary().removeSong(s);

			Vector<String> tmp = new Vector<String>();
			for (Map.Entry<String, Library> entry : playlists.entrySet()) {
				tmp.add(entry.getKey());
				List<Song> tmpSongs = entry.getValue().owned();
				for (Song song : tmpSongs) {
					tmp.add("  " + song.toString());
				}
			}
			playListList.setListData(tmp.toArray());
	}
	
	loanedList.setListData(currUser.getLibrary().loaned().toArray());
	ownedList.setListData(currUser.getLibrary().owned().toArray());
}//GEN-LAST:event_removeSongButtonActionPerformed