def recreate_user_themes_from_default_ones
      FileUtils.mkdir_p(USER_THEMES_DIR) unless File.exist?(USER_THEMES_DIR)
      default_themes = Dir.entries(DEF_THEMES_DIR) - %w(. ..)

      default_themes.each do |theme|
        user_theme_path = File.join(USER_THEMES_DIR, theme)
        next if File.exist?(user_theme_path)
        def_theme_path = File.join(DEF_THEMES_DIR, theme)
        FileUtils.cp(def_theme_path, USER_THEMES_DIR)
      end
    end
def recreate_user_themes_from_default_ones
      FileUtils.mkdir_p(USER_THEMES_DIR) unless File.exist?(USER_THEMES_DIR)
      default_themes = Dir.entries(DEF_THEMES_DIR) - %w(. ..)

      default_themes.each do |theme|
        user_theme_path = File.join(USER_THEMES_DIR, theme)
        next if File.exist?(user_theme_path)
        def_theme_path = File.join(DEF_THEMES_DIR, theme)
        FileUtils.cp(def_theme_path, USER_THEMES_DIR)
      end
    end
Copy a default theme to theme directory, but only if it isn't there yet.