Is this a bad way to apply links to buttons?