Configurated the cancel