changed buttons variables