When clicking on the button valide we enter a please wait state and it never ends