changed new pin to button