@Override
	public void addMessageToDB() {
		try {
			String statement = new String("INSERT INTO " + DBTable +"" +
					"(uid1, uid2, time, qid, bestScore, isRead) VALUES (?, ?, NOW(), ?, ?, ?)");
			PreparedStatement stmt = DBConnection.con.prepareStatement(statement);
			stmt.setInt(1, fromUser);
			stmt.setInt(2, toUser);
			stmt.setInt(3, quizID);
			stmt.setDouble(4, bestScore);
			stmt.setBoolean(5, isRead);
			DBConnection.DBUpdate(stmt);
		} catch (SQLException e1) {
			e1.printStackTrace();
		}
	}