[Flash Notifications] make registering the FlashListener configurable
Merge pull request #1288 from christickner/flash_listener_configuration

[Flash Notifications] make registering the FlashListener configurable