Update to ensure button logic only happens on homepage.

Quickie!

@angaither 

CC: @barryclark @DFurnes