Extract StatusBarView from StatusBarController.
Fix bug that menu item won't refresh automatically by dispatching the wifi event to the main thread.