Fixed a bug in default setting setting sub-app classes to id. And in example corrected the setting names also.