I know how to add buttons in runtime but in every new start application they got deleted. What is the best practice to save them every time they got created?

I know how to add buttons in runtime but in every new start application they got deleted. What is the best practice to save them every time they got created?

