Implement flash_helper to remove unwanted keys from flash. Fixes #3316
Merge pull request #3507 from quikly/flash-helper

Implement flash_helper to remove unwanted keys from flash. Fixes #3316