public void menuMain() throws MalformedURLException, InterruptedException, IOException {

        Scanner in = new Scanner(System.in);

        while (true) {


            System.out.println("******************* Main Menu *************************");
            System.out.println("*                                                     *");
            System.out.println("* 1 - New site download                               *");
            System.out.println("* 2 - Update site                                     *");
            System.out.println("*                                                     *");
            System.out.println("* 0 - Exit                                            *");
            System.out.println("*******************************************************");

            int aux = in.nextInt();

            switch (aux) {
                case 0:
                    System.exit(0);

                case 1:
                    if (t.isAlive()) {
                        System.out.println("Must wait for previous site download be finished");
                    } else {
                        menuDownloadNew();
                    }
                    break;
                case 2:
                    menuUpdate();
                    break;
                case 7:
                    myController.pauseThread();
                    break;
                case 8:
                    myController.resumeThread();
                    break;
                default:
                    System.out.println("Invalid Command");
                    menuMain();
            }
        }
    }