Please help to fix theme check issue

I’m using add_menu_page() and add_submenu_page function to add a Menu and Sub Menus to the WordPress Admin Panel, But Theme Check plugin requires to using the add_theme_page() function for adding admin pages instead. As I know, add_theme_page() adds directly to the Appearance menu. Could anyone help me resolve this?
Thank you very much