Fixes template drop down data and persisting an updated template.