checkButtons