Oh, I understand. Don't try to close the elevator door directly, but instead put the button in its respective position (3) and then press it quickly.
Thank you very much for the tip, it helped a lot. I finally got it.