   stringBuffer.reset();
 }
 
-//TODO: Method to render date.
 void renderTime(){
-  buffer.drawText(((String)hour() + ":" + (String)minute() + ":" + (String)second()).c_str(),15,8,buffer.rgb(255,0,0), &virtualDJ_5ptFontInfo);
+  if(isTimeSet){
+    buffer.drawText(((String)hour() + ":" + (String)minute() + ":" + (String)second()).c_str(),15,8,buffer.rgb(255,0,0), &virtualDJ_5ptFontInfo);    
+  }
 }
 
 //TODO: Method to render date.


void blePeripheralDisconnectHandler(BLECentral& central) {
  messageWithSecondDelay("disconnected...");
  messageWithSecondDelay("searching...");
}

void setTimeHandler(BLECentral& central, BLECharacteristic& characteristic){
  messageWithSecondDelay("written...");
  setTime(timeCharacteristic.valueBE());
  messageWithSecondDelay("time written...");
}

void messageWithSecondDelay(String msg){


void bleSetup(){
  //Name of BLE peripheral when connecting to master.
  blePeripheral.setLocalName("tinywatch");
  blePeripheral.setAppearance(0xC0);

  //Setting advertising id from service.
