persist last used template