Add advert hook, margin fix

Hook RefreshedAdvert - allows code in LocalSettings to define whether the
advert should be shown or now, but also if it should be shown to different
users, or perhaps randomly. Basically allows complex decision before
showing or hiding the ad.