Ensuring button can be clicked that is deleted immediately after