Building the editor interface and making the template manager refreshed