/// <summary>
        /// Funkcija za restartiranje na level
        /// </summary>
        private void reset()
        {
            totalP -= game.levelMeter.currentlevel;
            elapsed = 0;
            mouseDown = false;
            clicking = false;
            swaped = false;
            firstClick = Point.Empty;

            int height = (this.Height - 2 * menuStrip1.Height - 5) / TableSize.Height;
            int width = (this.Width - 20) / (TableSize.Width + 1);
            int fsize;
            if (height < width)
                fsize = height;
            else fsize = width;
            game = new Game(TableSize, fsize, menuStrip1.Height + 5, 5, MeterCount, colorNum);
            timerDrop.Start();
            timer.Start();
        }
        /// <summary>
        /// Inicijalizacija na nova igra kade se zgolemuva tabelata
        /// i potrebni poeni za pominuvanje na level
        /// </summary>
        void newGame()
        {
            Time += 5;
            elapsed = 0;

            Level++;
            lbLevel.Text = Level.ToString();
            if (colorNum < 7) colorNum++;

            mouseDown = false;
            clicking = false;
            swaped = false;
            firstClick = Point.Empty;
            if (TableSize.Width <= TableSize.Height)
            {
                TableSize = new Size(TableSize.Width + 1, TableSize.Height);
            }
            else
            {
                TableSize = new Size(TableSize.Width, TableSize.Height + 1);
            }

            int height = (this.Height - 2 * menuStrip1.Height - 5) / TableSize.Height;
            int width = (this.Width - 20) / (TableSize.Width + 1);
            int fsize;
            if (height < width)
                fsize = height;
            else fsize = width;
            MeterCount += 5;
            game = new Game(TableSize, fsize, menuStrip1.Height + 5, 5, MeterCount, colorNum);
            timerDrop.Start();
            timer.Start();
        }