Taha told me to push this

fixes a major ui bug where the user would input something thats not one
of the choices, then the menu would print again, but the next time the
user inputs anything, the program crashes immediately