Made it so that pressing the space bar fires off the event that happens when the user presses enter while navigating with the keyboard.