Handling generic event handling for any picture insertion