Menu is in main method and handles null values