private void showAlarms()
	{
		int valg = -1;
		while(valg != 0)
		{
			ArrayList<Alarm> alarms = user.getAlarms();
			System.out.println("=========Showing your alarms=========");
			if (alarms.size() > 0)
				for (int i = 0; i < alarms.size(); i++)
					System.out.println((i+1) + ": " + alarms.get(i));
			else
				System.out.println("You have no alarms");
			System.out.println();

			System.out.println("0: Back");
			if (alarms.size() > 1)
				System.out.println(1 + "-" + alarms.size() + ": Change/delete alarm");
			else if (alarms.size() > 0)
				System.out.println("1: Change/delete alarm");
			valg = readInt();

			if (valg == 0)
				return;
			if (valg >= 1 && valg <= alarms.size())
				showAlarm(alarms.get(valg-1));
			valg = -1;
		}
	}