Re-enable CSV button after query is executed