add function to display flash string on display