Added delete function

Some ui changes
Delete functions added