Dynamic button colors based on variables