It works but gives a warning, "animated.event now requires a second argument". How can this be fixed?