At a competency hearing, if the court determines that the child is competent, the court shall enter an order stating that the child is competent, lift the stay imposed under § 3-8A-17.1 of this subtitle, and proceed with the delinquency petition or violation of probation petition in accordance with the time periods specified in this subtitle and in the Maryland Rules.