             Text("Seconds:")
                 .padding(.leading)
             TextField("", text: $secondsString)
+                .textFieldStyle(.roundedBorder)
                 .keyboardType(.numbersAndPunctuation)
-                .textFieldStyle(RoundedBorderTextFieldStyle())
+                .submitLabel(.done)
                 .frame(width: 50)
                 .onChange(of: secondsString) { value in
                     if let seconds = Int(value), seconds >= 0 {

            Spacer()
            Text("Minutes:")
            TextField("", text: $minutesString)
                .keyboardType(.numbersAndPunctuation)
                .textFieldStyle(RoundedBorderTextFieldStyle())
                .frame(width: 50)
                .onChange(of: minutesString) { value in
                    if let minutes = Int(value), minutes >= 0 {

            Section {
                if countdown.isScheduled {
                    DatePicker("Time and Date", selection: $countdown.date)
                        .datePickerStyle(.graphical)
                } else {
                    LengthPicker(countdown: countdown)
                        .foregroundColor(.primary)
