Added automatic save on configuration change