Guidance on FSR/Button project

I’m very new to the arduino and program code in general, but I’m starting to get the hang of it.

Anyways, I want to create a device that has three buttons, an FSR sensor, and an LCD screen.
Button 1 will increase the number
Button 2 will decrease the number
Button 3 will store the number for later use and then will reset the LCD to zero
Once it is reset, the FSR when pressure is applied, will count up to that number that is stored and once it’s reached, it’ll display text or blink LEDs or something similar.

I’ve searched around at different projects but had trouble coming up with how to use the third button to store the number for later and use another input to count up again. Any help/guidance would be appreciated!

/*
 * LCD RS pin to digital pin 12
 * LCD Enable pin to digital pin 11
 * LCD D4 pin to digital pin 5
 * LCD D5 pin to digital pin 4
 * LCD D6 pin to digital pin 3
 * LCD D7 pin to digital pin 2
 * LCD R/W pin to ground
 * Increment button to digital pin 8
 * Decrement button to digital pin 7
*/
// include the library code:
#include <LiquidCrystal.h>

int fsrPin = A0; // FSR and 10k pulldown connected to A0
int fsrReading;  // the analog reading from the FSR resistor

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

//Set buttons pin numbers
byte incrementButton = 8;
byte decrementButton = 7;
byte storeButton = 9;

//Global variables
int incrementState = 0; //variable that will read the increment button (either HIGH or LOW)
int decrementState = 0; //variable that will read the decrement button (either HIGH or LOW)
int storeState = 0;  // to store the number
int counter = 0; //variable that will store the count
int lastIncrementState = 0;
int lastDecrementState = 0;

void setup()
{
  Serial.begin(9600);
   pinMode(incrementButton, INPUT); //set incrementButton as INPUT
   pinMode(decrementButton, INPUT); //set decrementButton as INPUT
   pinMode(storeButton, INPUT);
   lcd.begin(16, 1); //set up the LCD's number of columns and rows:
   lcd.print(counter); //print a message on the LCD
}//end of setup

void loop()
{
   lcd.setCursor(0, 1);
   incrementState = digitalRead(incrementButton); //read the increment button state
   decrementState = digitalRead(decrementButton); //read the decrement button state
   if(incrementState != lastIncrementState) //compare increment button state to its last state
   {
      if(incrementState == LOW)//increment button is pressed
      {
         counter = counter + 1; //increment the counter
         lcd.clear();
         lcd.print(counter); //print it on serial monitor
         Serial.print(counter);
         delay(20); //debounce delay
      }
   }
   lastIncrementState = incrementState;

   if(decrementState != lastDecrementState)//compare decrement state to its lastState
   {
      if(decrementState == LOW)//decrement button is pressed
      {
         counter = counter - 1; //decrement the counter
         lcd.clear();
         lcd.print(counter); //print it on serial monitor
         Serial.print(counter);
         delay(20); //debounce delay
      }
   }
   lastDecrementState = decrementState;

// need to add code here for third button

   
//Below this is the FSR sensor counter... may need tweaked a little 
 
  fsrReading = analogRead(fsrPin); 
  lcd.setCursor(0, 1);
   Serial.print(counter);
   lcd.print(counter);
   delay(100);
  
  if (fsrReading > 350 && fsrReading < 800)  // the FSR reading, when a certain amount of pressure is applied
  {
    counter=counter + 1;
   Serial.print(counter);
   lcd.print(counter);
   delay(100);
  }
   
 }//end of loop

Any ideas from anyone? I guess I'm also confused on how to put the code in and where. Should I use the buttons in the setup section and the FSR in the loop section? The counters will only be used on start up so that a numeric value can be established... with that third button it stores the value in flash or eeprom and then clears the LCD... then the only thing left is the FSR to actually do the counting.

Thanks for any advice

First I have no idea what a FSR is?

I also am not entirely sure what you are asking, but if you are just trying to set a value for

int storeState = 0;  // to store the number
int counter = 0; //variable that will store the count

Just change the value every time the user pushes the up or down button, then use the "enter" button to exit the menu (no need to save since it resets the value every time you press the button up or down). If you want the user to set the value every time the unit is powered on this will work. No need to "save" the value. Will that work?

Also check out "Debounce" http://arduino.cc/en/Tutorial/Debounce

Sorry, by FSR I mean force sensitive resistor, basically a thin strip of plastic that when pressure is applied acts as a switch.

Using a menu would work I guess, just using numeric values and then a third button exiting that menu. Then the FSR switch counting up again to that specified number. I'll have to look for menu examples, something very simple no doubt.