Fix #1119 : Twitter and Facebook shares are available even if the system setting has been disabled