Play a beep and keep selection index when an invalid character is
inputted