solve the issue that maiccu opens a modal sheet on a non-main thread (maiccu will terminate under os x lion)