private void Recent(object sender, RoutedEventArgs e)
        {
            if (recenttitle.Text != "Add your first")
            {
                string itemnametemp = recenttitle.Text;

                string[] readText = File.ReadAllLines(@"C:\test\test.txt");
                foreach (string text in readText)
                {
                    string   myString = text;
                    string[] mon      = myString.Split('='); //We're making array for mon[0] is name and mon[1] is shortcut

                    if (mon[0] == itemnametemp)
                    {
                        itemtype     = mon[1];
                        itemlink     = mon[2];
                        itemshortcut = mon[3];
                    }
                }

                ResultPage dashboard = new ResultPage(itemnametemp, itemlink, itemtype, itemshortcut);
                dashboard.Owner         = Window.GetWindow(this);
                dashboard.AppMainWindow = this;
                ShowResultPanel.Content = null;
                ShowResultPanel.Content = dashboard;
            }

            else
            {
                AddNewPage newpagedashboard = new AddNewPage();
                newpagedashboard.Owner         = this;
                newpagedashboard.AppMainWindow = this;
                AddNewPanel.Content            = newpagedashboard;
            }
        }
        private void AddNew(object sender, RoutedEventArgs e)
        {
            AddNewPage newpagedashboard = new AddNewPage();

            newpagedashboard.Owner         = this;
            newpagedashboard.AppMainWindow = this;
            AddNewPanel.Content            = newpagedashboard;
        }