(e) All motions for continuance are addressed to the discretion of the trial court and shall be considered in the light of the diligence shown on the part of the movant. Where 1 year has expired since the filing of an information or indictments, filed after January 1, 1980, if the court finds that the State has failed to use due diligence in bringing the case to trial, the court may, after a hearing had on the cause, on its own motion, dismiss the information or indictment. Any demand that the defendant had made for a speedy trial under Section 103-5 of this code shall not abate if the State files a new information or the grand jury reindicts in the cause. After a hearing has been held upon the issue of the State's diligence and the court has found that the State has failed to use due diligence in pursuing the prosecution, the court may not dismiss the indictment or information without granting the State one more court date upon which to proceed. Such date shall be not less than 14 nor more than 30 days from the date of the court's finding. If the State is not prepared to proceed upon that date, the court shall dismiss the indictment or information, as provided in this Section.