allow to modify enableoptions over eventlistener
Merge pull request #1630 from Stricted/option_modifyEnableOptions

allow to modify enableoptions over eventlistener