Voltage reference with LCD

I have attempted to add the flags into the current code as well as change delay for millis, but still can't get the LCD to clear after the the count and now the display is now faint and missing characters

//Voltage reference code to display voltage on LCD it has fallen below the set threshold and for the time define by millis

// include the library code:
#include <LiquidCrystal.h>

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

boolean lowbatt = false;
unsigned long Timer;   //ALWAYS use unsigned long for timers, not int
const int analogPin = A0;    // pin that the sensor is attached to
const int ledPin = 13;       // pin that the LED is attached to
const int threshold = 3;   // an arbitrary threshold level that's in the range of the analog input


void setup() {
  pinMode(ledPin, OUTPUT);
    // initialize serial communication at 9600 bits per second:
  Serial.begin(9600);
  // declare pin 9 to be an output:
  pinMode(6, OUTPUT);  
  analogWrite(6, 90);//contrast   
  // set up the LCD's number of columns and rows: 
  lcd.begin(16, 2);
 

}

void loop() {
  // read the input on analog pin 0:
  int sensorValue = analogRead(A0);
  // Convert the analog reading (which goes from 0 - 1023) to a voltage (0 - 5V):
  float voltage = sensorValue * (5.0 / 1023.0);
  // if the analog value is low enough:
  if (voltage < threshold) {
  Timer = millis();   //set timer 
  lcd.setCursor(1, 0);
  // Print a message to the LCD.
  lcd.print("Battery Volts");
  // set the cursor to column 0, line 1
  // (note: line 1 is the second row, since counting begins with 0):
  lcd.setCursor(6, 1);
  // print voltage on A0:
  lcd.print(voltage);
  digitalWrite(ledPin, LOW);
  lowbatt = true;
  if (millis()-Timer >= 2500UL);  //timer expired
  if (lowbatt = true); lcd.clear();
   
 
  } 
  else {
  digitalWrite(ledPin, HIGH);
    lcd.clear();
    lowbatt = false;
  }


}

i can't work out if it the mills code or the setting of the flags thats wrong or am i missing something else