private void lifeCycle() {
			String s = "";

			String time1StringView = "";
			String time2StringView = "";

			while (isInputActive) {
				try {
					s = readInput();
					if (s.length()==0) {
						break;
					}
					if (this.isValidInput(s)) {

						if (!isTimeSet1) {
							time1StringView = s;
							this.isTimeSet1 = true;
							System.out.println(MSG_TIME1ISOK);
						} else

						if (!isTimeSet2) {
							time2StringView = s;
							this.isTimeSet2 = true;
							System.out.println(MSG_TIME2ISOK);

							this.isInputActive = false;
							break;
						}
					} else {
						System.out.println(MSG_WELCOME);
					}
				} catch (IOException e) {
					e.printStackTrace();
				}
			}
			action(time1StringView, time2StringView);
		}