The demo I posted yesterday on using custom metadata has been fixed. Thanks to those who pointed out the bug.

See it here