new Delete button function

Signed-off-by: rayyrayy <ray61503@hotmail.com>