add task activity and adapter