public void createNewTimeSpentOnTask(JComboBox userName) throws SQLException, IOException {
        User user = null;
        TimeSpentOnTask tsot = null;

        user = getUserByUserName(userName);

        tsot = new TimeSpentOnTask(user.getUserID());
        dbHandler.createTimeSpentOnTask(tsot);
    }