Added option to show duration on iOS devices