Converted a leftover old-style click callback.