moved displayDurationForString into public scope

I moved displayDurationForString into public scope to override it in a subclass to be able to set the display duration for certain manually.