Fixed the favorites button to work with the changes to random generation.