Moving demo callback to settings.demo.