onTaskComplete() Method