/// <summary>
        /// Gets all current templates and adds them to leftPanel
        /// </summary>
        private void GetTemplates()
        {
            List <string> templateNames = DatabaseParser.GetLessonTemplates();

            foreach (string template in templateNames)
            {
                Button tempButton = new Button
                {
                    Size           = new Size(leftPanel.Width - 40, 30),
                    Text           = template,
                    FlatStyle      = FlatStyle.Flat,
                    FlatAppearance = { BorderSize = 0 },
                    TextAlign      = ContentAlignment.MiddleLeft,
                    Font           = new Font("Calibri Light", 12F),
                    ForeColor      = Color.FromArgb(127, 132, 144)
                };

                tempButton.Location = new Point(20, 30 + tempButton.Height * (templateNames.IndexOf(template) + 1) + 5 * templateNames.IndexOf(template));
                tempButton.Click   += Template_Clicked;

                leftPanel.Controls.Add(tempButton);
                _templates.Add(tempButton);
            }
        }