implement working onEnabled and onDisabled events