fixed the bug that the template label in element config window was not updated after changing it
removed an unused line
Merge pull request #677 from t-gerhard/update_template_name

fixed the bug that the template label in element config window was not u...