template: avoid duplicated exam name
template/view: fix bugs to enable save() of new exam