Fixes few warnings for DetailMenu.