Solved a problem when the program check if the file has to be saved