Fixed actually creating the task in Firebase.