By default, iTunes keeps records of previous lists. On Mac or Windows, go to Music > iTunes > Previous iTunes Libraries. There should be a ITL file. Copy that file, then switch to the root iTunes directory, then delete the XML file and the current ITL file. Past the new one from the Previous folder and rename it accordingly (delete the date from the file name). Start iTunes and add the ITL file by drag and drop, then restart it and lists/libraries will be in the same place as they were.
This is a known issue with the latest version of iTunes application after it has been updated.