The app’s code gets automatically installed only on the live theme. If you want the app to be installed on an inactive theme you are previewing follow the directions in the article below.
How do I install, disable or delete Variant Option Product Options?