Add dynamic button classes