Delete button for pending jobs working