You really can't read too much into this. The Iranian presidency is a totally bogus sham office for the benefit of the ruling mullahs. It's to give the appearance of a democracy to what is in reality a theocracy.
That said, any president, past or present, is dispensable at the whim of the ruling theocratic elite. If Ahm-a-gonna-sit-right-down-and-write-myself-a-letter has been arrested, it is for the purposes of furthering the mullahs' agenda, whatever that may be.
Recall the first president, Banisadr, after the '79 revolution. He barely got out of town in time to save his own hide, and has been in exile ever since.
His right hand man and spokesman here in the U.S., Goats-by-day (phonetic), was not so lucky. They executed his smarmy ass when he returned.
If the mullahs say Ahm-a-ding-dong-daddy-from-Dumas is somehow responsible for the unrest, the opposite is probably true. Just sayin'.
You'll not get the truth from that bunch. Quite the opposite, usually.