[AL-1040] Moved _logState call, tested with all event handlers.
[AL-1040] Moved _logState call, tested with all event handlers.

uhef/Oskari-Routing-frontend,uhef/Oskari-Routing-frontend,uhef/Oskari-Routing-frontend,uhef/Oskari-Routing-frontend,uhef/Oskari-Routing-frontend,uhef/Oskari-Routing-frontend