add flash notification support