Fix of error.

submenu was missspelled as submeny

handle_menu was incorrectly called. Created a new function to fix that problem.