Public security prepares plan for elections