Add spinner to select detection time unit (minute or second)