Fix use flash message for pin errors