Made onTap only trigger when there was not a duration