modify btn count and retake photo