Restmenu: replace len hardcoded content by charsmax and sizeof