button configure callback