Deleting and Creating objects

I made 2 buttons that creates objects when pressed. When I press on one of them twice (after pressing the other button) the objects does not show.

Here’s my events:

Here is a video: