Don't use findIndex since Chrome doesn't support it
Use different flashing titles for low and high priority messages