You need a lawyer to help work this out... Based on the little you have posted you had a diversion and you have been arrested twice on this since the diversion for non completion. Most courts have some patience but you are pressing the courts patience, you should not be surprised at any outcome.