Led 7 Segments 2 buttons. Counter and change between displys

You never store the numbers for later use.

You need to look up arrays, and create an array of 3 numbers, You also need to store which element of the array you are currently using for your changes.

Also, if you post the code again, can you please fix the indentation of the functions. It's very difficult to read without correct indentation.