Fix ButtonView may activate twice in some circumstances
Fix ButtonView may activate twice in some circumstances

Now we handle the browser event queue, it may not be a different event loop
ion which a delayed function is triggered.

fastmail/overture,linagora/overture,adityab/overture,linagora/overture,Hokua/overture