Window opener opens window again and again due to Void loop

while (the button is pressed and the blinds are not closed)
{
  keep the moving the blinds towards their closed position
}