Properly updated names of menu widgets. Created event handler for key press event