Once it becomes a new day, the previous day is blacked out
regardless of whether or not you actually completed the task. The
words "This door has already been opened." means you didn't
actually complete the task or did the task, but forgot to claim the
reward. If you did claim the reward, it would say "You have already
received this gift." like it does in your Day 1 image.