Help on Rotatry encoder to scroll pages and push button to restart arduino...

Hi, can i use this to store the variables less frequently?