use setTimeout() to delay the execution to allow the menu creation to complete before checkmark the menu, bug 82272, r=ducarroz, sr=waterson, a=asa. git-svn-id: svn://10.0.0.236/trunk@96363 18797224-902f-48f8-a5cc-f745e15eee43