Save the state of the resources plugin