Resync configuration on setting update, part of #9.

Signed-off-by: crynobone <crynobone@gmail.com>