Hello Kevin,
After you change the code , if you do not want the PE change the code you write , you can select ""Don't Write Generated Component Modules"

thus , when rebuild the project , the code you write won't disappeared .
Hope it helps
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Have a great day,
Alice