[Refactor] introduce render elements
The code uses strings to classify some discrete elements that are rendered to react different to there selection.
Codify those discrete elements in an enum
to ensure that the names always match and ensure that all elements are handled in some way!