added number picker preference for duration/period