// Use this for initialization
    void Start()
    {
        tPoints          = tPoints.GetComponent <Text>();
        Shop             = Shop.GetComponent <Text>();
        Grand_Total      = PlayerPrefs.GetInt("Grand_Total");
        firstRun         = PlayerPrefs.GetInt("savedFirstRun");
        energizer        = energizer.GetComponent <Canvas> ();
        Reminder         = Reminder.GetComponent <Canvas> ();
        your_energy      = your_energy.GetComponent <Text> ();
        Reminder.enabled = false;
        if (firstRun == 0)
        {
            energy = 20;
            PlayerPrefs.SetInt("energy", energy);
            firstRun = 1;
            PlayerPrefs.SetInt("savedFirstRun", firstRun);
            current_Time = System.DateTime.Now.ToString();
            PlayerPrefs.SetString("quit_Time", current_Time);
        }
        else
        {
            energy = PlayerPrefs.GetInt("energy");
            PlayerPrefs.SetInt("energy", energy);
        }
        Energy_Points      = Energy_Points.GetComponent <Text>();
        Energy_Points.text = "" + energy;
        nokia_skori        = nokia_skori.GetComponent <Text>();
        cloud_skori        = cloud_skori.GetComponent <Text>();

        justin_skori   = justin_skori.GetComponent <Text>();
        quitMenu       = quitMenu.GetComponent <Canvas>();
        stages         = stages.GetComponent <Canvas>();
        Play           = Play.GetComponent <Button>();
        title          = title.GetComponent <Text> ();
        fly            = fly.GetComponent <Text> ();
        exit_game      = exit_game.GetComponent <Text>();
        Exit           = Exit.GetComponent <Button>();
        X              = X.GetComponent <Button>();
        stages.enabled = false;

        quitMenu.enabled = false;
        X.enabled        = false;


        highscore_nokia  = PlayerPrefs.GetInt("highscore");
        highscore_justin = PlayerPrefs.GetInt("highscore_justin");
        highscore_cloud  = PlayerPrefs.GetInt("highscore_cloud");

        nokia_skori.text  = "HighScore = " + highscore_nokia;
        justin_skori.text = "HighScore = " + highscore_justin;
        cloud_skori.text  = "HighScore = " + highscore_cloud;
        quit_Time         = "0";
    }