public void sendState(int currentState, int activeDrum)
    {
        //System.out.println("STATE:" + currentState);
        long milliTime = (long)(parent.getCurrentUnixTime());
        for(Observer o : StateListeners)
        {
            o.update("STATE;"+String.valueOf(currentState)+";"+String.valueOf(milliTime));
        }  
        if(currentState == 3)
        {
            newLaunch = true;
            try {
                DatabaseUtilities.DatabaseDataObjectUtilities.addLaunchToDB(parent.getCurrentUnixTime(), parent.getCurrentUnixTime());
            } catch (SQLException | ClassNotFoundException ex) {
            }
        }
    }