added delete button disabled feature when processing thread.