/// <summary>
        /// Delete the running in the parameter.
        /// </summary>
        public void DeleteRunning(RunningData running)
        {
            ISharedPreferences runningTracker = Application.Context.GetSharedPreferences("RunningTracker", FileCreationMode.Private);

            ICollection <string> stringICollection = runningTracker.GetStringSet("Runnings", null);
            List <string>        runningsString    = new List <string>();

            if (stringICollection != null)
            {
                runningsString = stringICollection.ToList();
            }

            string runningString = JsonConvert.SerializeObject(running);
            string deleteRunning = null;

            foreach (string run in runningsString)
            {
                if (run.Equals(runningString))
                {
                    deleteRunning = run;
                }
            }
            runningsString.Remove(deleteRunning);

            ISharedPreferencesEditor runningTrackerEditor = runningTracker.Edit();

            runningTrackerEditor.PutStringSet("Runnings", runningsString);
            runningTrackerEditor.Commit();
        }
        /// <summary>
        /// Save the running in the parameter.
        /// </summary>
        public void SaveRunning(RunningData running)
        {
            ISharedPreferences runningTracker = Application.Context.GetSharedPreferences("RunningTracker", FileCreationMode.Private);

            ICollection <string> stringICollection = runningTracker.GetStringSet("Runnings", null);
            List <string>        runningsString    = new List <string>();

            if (stringICollection != null)
            {
                runningsString = stringICollection.ToList();
            }

            runningsString.Add(JsonConvert.SerializeObject(running));

            ISharedPreferencesEditor runningTrackerEditor = runningTracker.Edit();

            runningTrackerEditor.PutStringSet("Runnings", runningsString);
            runningTrackerEditor.Commit();
        }