@MainThread
public void toggleEvent(boolean enabled) {
final boolean hasRegistered = EventBus.getDefault().isRegistered(this);
if (hasRegistered && !enabled) {
EventBus.getDefault().unregister(this);
} else if (!hasRegistered && enabled) {
EventBus.getDefault().register(this);
}
}