Added flash store and load of config options.

Currently we store the config only on successful bind. As there is no
way of changing other config options at the moment.
[FlashConfig] Added a comment about code efficiency.