Set buffer times between your habits and Tasks:
Navigate to Settings > General.
Scroll to Buffer time & breaks section.
Under Tasks & Habit breaks, click the drop-down menu.
Select the break duration of your choice.
Note that the buffer times created here will be placed before and after the habit or task, where possible.