What's the proper way to have IC2 manage device config and restore it if it gets reset?

A quick search yields: