Change setState syntax