Fix buttons variables