Fixed problem with changing templates using the tempalte's icon theme.