private void btnAdd_Click(object sender, EventArgs e)
 {
     if (plugin.HavePermission())
     {
         DateTime startTime = dtDate.Value;
         SC.Interfaces.DefaultPlugins.DurationType durType = (radTrueDuration.Enabled ? SC.Interfaces.DefaultPlugins.DurationType.Duration : SC.Interfaces.DefaultPlugins.DurationType.StopEarly);
         plugin.AddActivation(startTime, durType, this.tsDuration.Number, this.tsDuration.Unit, this.tsRepeat.Number, this.tsRepeat.Unit);
         RefreshView();
     }
 }