The more unhappy you are, the more you wander or think to solve that unhappiness. This implies that you are not in the present. Therefore, the more unhappier you are the more you procrastinate Or probably unhappiness is just created within to serve the purpose of procrastination.
Refer to Psychology Today’s article on Depression and Procrastination. The article interestingly talks about that ‘showing up’ is half the battle won against procrastination. So, no matter how you feel about something, just keep doing it.