Apple and Samsung end 7 year long patent battle