Could you just set the flag and then check if this is true or not. For example, when they press a button, the flag is false, so it executes commands and sets the flag to true. When they are updated, the flag is true, and does not execute the command.
. , .
if(flag==false)
{
flag=true;
}
"",
if(myLabel.Text=="")
{
myLabel.Text="Something Else";
}