// -clearPersistedState is set *after* installing new software, but must
// be cleared for the next runs
try
{
IniFileManipulator m = new IniFileManipulator();
m.load();
m.unsetClearPersistedState();
if (m.isDirty())
m.save();
}
catch (IOException ignore)
{
PortfolioPlugin.log(ignore);
}