(a) Upon termination of the tenancy and within the applicable notice period, any security deposit held by the landlord, minus any deductions for damages or other charges, shall be delivered to the tenant, together with a written itemization of any such damages or other charges as provided in subsection (c).
(b) Upon termination of the tenancy, any security deposit held by the landlord may be applied by the landlord only to:
(1) The payment of rent due, including the reasonable charges for late payment of rent specified in the rental agreement;