protected void add429observer() {
        getLifecycle().addObserver(new LifecycleAwareBroadcastReceiver(this, HttpRequest.HTTP429) {
            @Override
            public void onReceive(final Context context, final Intent intent) {
                synchronized (this) {
                    if (close429warning == 0) {
                        final ImageView v = findViewById(R.id.live_map_status);
                        if (v != null) {
                            v.setImageResource(R.drawable.warning);
                            v.getBackground().setTint(getResources().getColor(R.color.colorAccent));
                            v.setOnClickListener(v1 -> SimpleDialog.ofContext(AbstractNavigationBarMapActivity.this).setMessage(TextParam.text(String.format(getString(R.string.live_map_status_http429), intent.getStringExtra(HttpRequest.HTTP429_ADDRESS)))).show());
                            new Handler(Looper.getMainLooper()).post(() -> v.setVisibility(View.VISIBLE));
                        }
                    }
                    close429warning = System.currentTimeMillis() + 1000; // show for 1s
                    new Handler(Looper.getMainLooper()).postDelayed(() -> {
                        synchronized (this) {
                            if (System.currentTimeMillis() > close429warning) {
                                final View v = findViewById(R.id.live_map_status);
                                if (v != null) {
                                    v.setVisibility(View.GONE);
                                }
                                close429warning = 0;
                            }
                        }
                    }, 5000);
                }
            }
        });

    }
removes fragment and view for mapdetails view; returns true, if view got removed
main/src/main/java/cgeo/geocaching/activity/AbstractNavigationBarMapActivity.java