Added onBlockActivated()