Whenever a building or structure is repaired or demolished in accordance with the provisions of this article and the cost of such repair or demolition is borne by the county, procedures for the budgeting, expenditure and recovery of such funds shall be established.