[#33] [Platform] persist preferences on writePreferences()
[#34] [Charting] exportGraph() should add '.png' file suffix if required