Cleanup NavMenu.php

Change-Id: I45a4656eb811417a8c6656411e1f1b02ec2a74a3