reload scopes if they were changed (IDEA-24326 ); merge events on apply