reset demo state when user leaves homepage