Startup section: reset keys[] if data choice is switched.