Simplify menu_common_backend.c