Finish TechTask014: Reduce the duplication in _flash_page