Refactoring and fb share button