fixed the share button so that it will work on ios7.