changed boolean name from challenge_not_completed to challenge_completed
added else option in action for when the challenge is completed