Saving state on poll and add provider events