Is there any hook for theme activation ? or something similar?
Don’t save the template in the current theme. Instead, save the template in your plugin itself and try to use the template using template_include filter for particular page or whatever using is_page. By this you don’t have to worry about theme change.