Comply new api

Remove hard copies of metadata and comment in ShareMenu
and access only when necessary.

Signed-off-by: Martin Abente Lahaye <tch@sugarlabs.org>