Sed can also use any character as a separator for the "s" command. Basically, sed takes whatever follows the "s" as the separator. So you could change your command to something like:
sed -i -e "s_somestringX_${var}_g" change.txt
You will want to ensure that the delimiter is not part of your target variable.