   Serial.println("Press");
   stepCount++;
   if (SimbleeForMobile.updatable) {
-      SimbleeForMobile.updateValue(stepsLabel, stepCount);
+      SimbleeForMobile.updateValue(stepsLabelId, stepCount);
   }
 }
 

// Define the pin that represents the tilt switch
const int tiltSwitch = 6;
int stepCount = 0;
int stepsLabel = 0;

// Define constants for debounce
const int min_on_time = 5;


void ui()
{
  SimbleeForMobile.beginScreen(WHITE);

  // Place a Logo on the screen
  SimbleeForMobile.drawText(110, 180, "Steps", BLACK, 40);

  // Place an updateable label on the screen
  stepsLabelId = SimbleeForMobile.drawText(150, 220, stepCount, BLACK, 40);
  
  SimbleeForMobile.endScreen();

  SimbleeForMobile.endScreen();
}
