Update and list button issue

If "list" route is disabled "Update and list button" still here and if you click it error appears. Button should not exist in this case.