(f) Beginning with the effective date of this amendatory Act of 1985, the Secretary of State shall suspend for a period of 3 months the driving privileges of any person convicted of a violation of subsection (a) of this Section or a similar provision of a local ordinance; the Secretary shall suspend for a period of one year the driving privileges of any person convicted of a second or subsequent violation of subsection (a) of this Section or a similar provision of a local ordinance if the second or subsequent violation occurs within 5 years of a prior conviction for the same offense. In addition to the suspensions authorized by this Section, any person convicted of violating this Section or a similar provision of a local ordinance shall be subject to a mandatory fine of $300 or, upon a second or subsequent violation, $1,000, and community service in an amount set by the court. The Secretary may also grant, for the duration of any suspension issued under this subsection, a restricted driving permit granting the privilege of driving a motor vehicle between the driver's residence and place of employment or within other proper limits that the Secretary of State shall find necessary to avoid any undue hardship. A restricted driving permit issued hereunder shall be subject to cancellation, revocation and suspension by the Secretary of State in like manner and for like cause as a driver's license may be cancelled, revoked or suspended; except that a conviction upon one or more offenses against laws or ordinances regulating the movement of traffic shall be deemed sufficient cause for the revocation, suspension or cancellation of the restricted driving permit. The Secretary of State may, as a condition to the issuance of a restricted driving permit, require the applicant to participate in a designated driver remedial or rehabilitative program. Any conviction for a violation of this subsection shall be included as an offense for the purposes of determining suspension action under any other provision of this Code, provided however, that the penalties provided under this subsection shall be imposed unless those penalties imposed under other applicable provisions are greater. The owner of any vehicle alleged to have violated paragraph (a) of this Section shall, upon appropriate demand by the State's Attorney or other designated person acting in response to a signed complaint, provide a written statement or deposition identifying the operator of the vehicle if such operator was not the owner at the time of the alleged violation. Failure to supply such information shall result in the suspension of the vehicle registration of the vehicle for a period of 3 months. In the event the owner has assigned control for the use of the vehicle to another, the person to whom control was assigned shall comply with the provisions of this paragraph and be subject to the same penalties as herein provided.