Add key string constants for medata dict
Fix theme's metadata editing (fix #224)