thanks for all the advices !

i guess my problem is really in the powersupply that makes DS1307 reset and looses all the settings (even with the 3v coin cell battery ) , but i was hoping some software magic to workaround this.

Just a doubt, why should the BROWNOUT RESET setting make it more reliable in noise related problems ?!?
thanks again for all answers!