A declaration of write-in candidacy must be filed with the authority with whom an application for a place on the ballot is required to be filed in the election.