Of course what you can do is always okay and your commitment counts. In life it is normal to encounter unforeseen events and the right thing to do is to learn to handle them and not use them as an excuse to avoid doing good things. So yes, you are doing well!
You don't have to complete the programme in 40 days. You can do a day multiple times if you don't feel it's enough. I suggest you to do so because you told that you are doing the meditations in less quality. Kind regards.