Fix settimeout to have dalay on some calls in celledit