switching tagheading when clicking on done button