Need to investigate nullReferenceExcetions when you load the settings for second time.