Both are correct. The context could make one better than the other.
If the antecedent is clear (that is, if there's only one option) then "it" is fine. If you wish to stress that a second option is being used, then the demonstrative pronoun is definitely in order.