Fixed graying out buttons