Reset after file saving

I am using an add on for saving .STL files.
My problem is that if I dont push the reset button after saving the files it keeps raising the file numbers thus saving the same file in different name. Is there a way to automatically set a boolean for a moment after saving the file?