toolbar button function added, share function added