Need help with a simple weight sensor project

I made a weight sensor using a load cell.When I place a weight on the load cell and then cut the power and turn it back on, the program re-calibrates and displays zero even though the weight is still on the load cell.How do I change the program so that the correct weight is displayed even when I switch the arduino off and then back on.

#include <HX711_ADC.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
HX711_ADC LoadCell(4, 5); 
LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
void setup() {
  lcd.begin(16, 2);
void loop() {
  float i = LoadCell.getData(); 
  lcd.setCursor(0, 0); 
  lcd.setCursor(0, 1); 

Once you have a calibration value, write the value to EEPROM. Then when you restart the program, copy the value from EEPROM to the calibration variable and skip the calibration function.

Can you edit the code.I just started programming and I have no clue what you are talking about.

I have no clue what you are talking about.

Then you need to study the code, and get a clue.

Look at the library. See what functions are available in the class. See which arguments or functions cause the system to auto-tare when it starts up, and stop making that happen.

If you do, you WILL have to add a process where you can trigger the tare process.