Mark completed function added

Add 'Mark completed' function and adjust the corresponding index (Task
listing) view