As a followup I suggest to you and others , to create a new app title 'Testing 123' .
This app can then be used to test all sorts of ideas / code snippets / view methods etc. which when perfected, can be pasted to your main app.
This way your main app remains in pristine order and you are more likely to be testing code with fewer interactions.
The test app can be 'Erased / blanked' occasionally as needed.
This might not suit everyone , but I am sure it would have negated the need to ask the above question in forum.