Reworked tasks view to be able to handle completed tasks and active tasks separately.