Add back-button functionality to menu window

Added "menu_back_single_click" and "menu_click_config_provider"
functions to provide back-button functionality for the menu window.