add share function to the secondary menu TODO:different style and remove
the extra share libs