SmartFoams with magneto-sensitive elastic behavior