Use selectors to get buttons instead of arbitrary properties.