Added a way to leave the presentation from the keyboard or the mouse