refactor task details view form