private void manualButton_Click(object sender, EventArgs e)
 {
     useraction = new UserAction(null, true);
     setVisibility(true);
 }
 private void automaticButton_Click(object sender, EventArgs e)
 {
     useraction = new UserAction(true, null);
 }