How to make the part of the code run only once?

Printable View