format the task details for sharing

- format the task details that need to be shared
  while sharing the task with friends.