Making the Random button on homepage work.