downloadThemes function