After renaming a session, the annotations in the EDF file are as the previous name.

Just so you know, although the name of the EDF file will be modified, the data contained within it will remain unaltered.