Fixed import/export theme bug

Added DynamicTheme function to import/export to fix bug which displayed
white theme in the import/export window when black theme was applied
elsewhere.