use event controller_action_layout_generate_blocks_after triggered once

Like the comment in #3 show ```core_block_abstract_to_html_before``` is not the best event, because it is triggered multiple times. We can use ```controller_action_layout_generate_blocks_after``` instead which is triggered only once.