restyle task detail page