Fix activity event corresponds to frameworks change