private void BtnSave_Click(object sender, EventArgs e)
        {
            ConEmuTask modifiedTask = task.Clone();

            modifiedTask.Name    = tbxName.Text;
            modifiedTask.GuiArgs = tbxGuiArgs.Text;

            modifiedTask.Commands.Clear();
            string[] lines  = rtbCommands.Lines;
            string   tmpCmd = String.Empty;

            foreach (string line in lines)
            {
                if (String.IsNullOrEmpty(line))
                {
                    continue;
                }
                tmpCmd += line.Trim() + " && ";
            }

            string cmd = tmpCmd.Remove(tmpCmd.Length - 4, 4);

            modifiedTask.Commands.Add(new Command(cmd));

            ((MainWindow)Owner).OnChildClosed(this, new ConEmuArgs(CloseReason.Save, modifiedTask));
            Close();
        }