Removed gamepad from exit logic

Here are my changes.