Object reference not set to an instance of an object when clicking on any Data class in the settings views