diff --git a/src/main/java/org/efaps/ui/wicket/components/menu/DropDownMenuPanel.java b/src/main/java/org/efaps/ui/wicket/components/menu/DropDownMenuPanel.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/efaps/ui/wicket/components/menu/DropDownMenuPanel.java
+++ b/src/main/java/org/efaps/ui/wicket/components/menu/DropDownMenuPanel.java
@@ -72,12 +72,9 @@ public class DropDownMenuPanel
                 Component item = null;
                 if (childItem.getReference() != null) {
                     childItem.setURL(childItem.getReference());
-                    if (childItem.getReference().equals(
-                                    "/" + getSession().getApplication().getApplicationKey() + "/taskadmin?")) {
+                    if (childItem.getReference().endsWith("/taskadmin")) {
                         item = new TaskAdminItem(_idGenerator.newChildId(), Model.of(childItem));
-                    }
-                    if (childItem.getReference().equals(
-                                    "/" + getSession().getApplication().getApplicationKey() + "/connection?")) {
+                    } else if (childItem.getReference().endsWith("/connection")) {
                         item = new ConnectionItem(_idGenerator.newChildId(), Model.of(childItem));
                     }
                 }
- Issue #<I>: Add a new GridPage