[sub-lib] improved ui & fixed bug for private-share