private void appointmentManager(){
		System.out.println("=========Appointment manager=========");
		System.out.println("0: Back to main menu");
		System.out.println("1: Show my appointments weekwise");
		System.out.println("2: Show my appointments this week/month");
		System.out.println("3: Make an appointment");
		System.out.println("4: Edit an appointment");
		System.out.println("5: Delete an appointment");
		System.out.println("6: Connect appointment to group");
		
		int valg = readInt();
		while (valg < 0 || valg > 6){
			System.out.println("Your choise was invalid. Please select a valid option.");
			valg = readInt();
		}

		switch (valg){
		case 0:
			return;
		case 1:
			printAppointments();
			break;
		case 2:
			printAvtaler();
			break;
		case 3:
			createAppointment();
			break;
		case 4:
			editAppointment();
			break;
		case 5:
			deleteAppointment();
			break;
		case 6:
			addGroupToAppointment();
			break;
		}
	}