In addition to all other powers and duties, health districts shall have the power to charge fees in connection with the issuance or renewal of a license or permit required by law: PROVIDED, That the fees charged shall not exceed the actual cost involved in issuing or renewing the license or permit.