public void Deselect()
{
selectedindex = -1;
removebutton.Enabled = false;
upbutton.Enabled = false;
downbutton.Enabled = false;
updatebutton.Enabled = false;
removebutton.SetupColors(General.Colors);
upbutton.SetupColors(General.Colors);
downbutton.SetupColors(General.Colors);
updatebutton.SetupColors(General.Colors);
notetextpanel.Visible = false;
textup.Visible = false;
textdown.Visible = false;
textscroll.Visible = false;
keyboard.Visible = false;
deselectedlabel.Visible = true;
for(int i = 0; i < NUM_MAIN_ITEM_CONTROLS; i++)
mainitems[i].StopInfoFlash();
}