Changed App.config, Added events(StateChangesd...)