Adding menu option to restart the program to switch between debugging and regular mode because that's faster than manually closing and starting the program