Button bounding check, XML settings parsing