fix bug that cannot cancel importing, exporting, removing files