Activity palette improvements

- properly set and get the metadata
- fix inheritance