Optimize License Activity, externalize arrays, via @Victor