State activate\deactivate event system implemented