added confirm to mark sold function