adds onMainThreadEvent for eventbus