No penalty shall attach on account of any neglect to deposit such oath or bond as aforesaid, in case such officer, before entering upon the execution of his office, and within the time limited for filing such oath or bond, shall give notice in writing to the officer or officers having the power by law to order an election to fill such office, or to fill the same by appointment, stating therein that he declines accepting such office.
MCL 45.321