Fixed the sample after array migration
Fixed some layout issues and added method to register new static values for configuration