Using a function in `setState`

A Pen by mrscobbler