finish AJAX destroy, ativate, deactivate selected and ativate/deactivate one register