completed on click and device register