appDisplay: Some cleanups
Use a predefined function instead of reimplementing its functionality, use a map instead of an object to store items, rename a property and make a property private.
Edited by Jonas Dreßler
Use a predefined function instead of reimplementing its functionality, use a map instead of an object to store items, rename a property and make a property private.