Cache button states