fix button
typo
Change getTemplate()
Fix template save