funcionalidad boton delete, fixed issues