Changing variables via bluetooth permanent on code

I have connected a Bluetooth module HC-05 on an Arduino nano, it works ok and from a Bluetooth terminal application I can get measures from Arduino on my android phone.I want to be able to change some variables by Bluetooth but not for one time.I need what I change to be saved in my main code permanent no matter if I reboot my Arduino.Is it possible?

You could store the variables in EEPROM memory, and pull them into RAM when the Arduino boots up. If you change these variables during run time, and store them back to EEPROM when they change, they will be recalled at reboot time.

This would have the same effect as changing the code, but you can’t actually change the compiled code over BT during run time.