Update buttons add active state