Home: Random button: optimise SQL request

And do not add the button if there is no service