Apply DRY on the computation of the event properties

Merged Gijs Hendriksen requested to merge improve-eventscreen-code into master

Closes #82

Short description

Move the computation of event properties to a separate function, so we don't repeat this code in multiple functions.

Merge request reports