The idea is to avoid repeated calls to the same functions which lead to
the same outcome, but just calling them once in the precondition checks.
For now move repeated calls of GetCurrentWindowTitle() and ignoreWindow
checks to this function.
Using int is an id was getting messy with more and more conditions and
actions beeing added.
It also made the order of conditions and actions in the respective
comboboxes unchangable as there was a 1 to 1 relation of index and id.