internal view: started reason included;

refactoring of OnOffEventsDefinition selects and type switches;