/// <summary>
        /// Actions when Load XML button is clicked.
        /// </summary>
        private void OnXMLLoad(object parameter)
        {
            // Check whether given path is empty or null
            if (ChosenXMLFilePath == null || ChosenXMLFilePath == "")
            {
                // Indicate a message
                MessageBox.Show("Please load xml workplan file from the disk firstly!");
                return;
            }

            // Invoke a load method and assign result to the variable
            var workplans = _workplanProvider.LoadWorkplans(ChosenXMLFilePath);

            if (workplans == null)
            {
                return;
            }

            // Clear workplans collection
            Workplans.Clear();
            foreach (var item in workplans)
            {
                // Add every workplan to the collection
                Workplans.Add(item);
            }
            // Set a flag
            isWorkplansLoaded = true;
            // Indicate a message
            MessageBox.Show("Workplans have been loaded properly");
        }
        /// <summary>
        /// Gets string of chosen file.
        /// </summary>
        /// <param name="parameter"></param>
        private void OnXMLLoadFile(object parameter)
        {
            // Assign string to result of SelectXMLFile method
            ChosenXMLFilePath = FileHelper.SelectXMLFile();

            if (ChosenXMLFilePath == null || ChosenXMLFilePath == "")
            {
                // Clear workplans collection
                Workplans.Clear();
                return;
            }
            // Automatically load workplans
            OnXMLLoad(this);
        }