Layout for task history
Fixing stats