Added recognition db changes reverting for the annotation dialog.