NPE fix.
Access right of menu entry added.