Please say where you found your version of the DS3231 library. This is the code from the one in library manager and it does not contain the setTime method used in your _MenuEvents.cpp. ( program->RealTimeClock()->setTime(hourItem->Value() + 12 * isPM, minItem->Value(), 0); )
//DS3231.h
class DS3231 {
public:
DS3231();
byte getSecond();
byte getMinute();
byte getHour(bool& h12, bool& PM);
byte getDoW();
byte getDate();
byte getMonth(bool& Century);
byte getYear();
void setSecond(byte Second);
void setMinute(byte Minute);
void setHour(byte Hour);
void setDoW(byte DoW);
void setDate(byte Date);
void setMonth(byte Month);
void setYear(byte Year);
void setClockMode(bool h12);
float getTemperature();
void getA1Time(byte& A1Day, byte& A1Hour, byte& A1Minute, byte& A1Second, byte& AlarmBits, bool& A1Dy, bool& A1h12, bool& A1PM);
void getA2Time(byte& A2Day, byte& A2Hour, byte& A2Minute, byte& AlarmBits, bool& A2Dy, bool& A2h12, bool& A2PM);
void setA1Time(byte A1Day, byte A1Hour, byte A1Minute, byte A1Second, byte AlarmBits, bool A1Dy, bool A1h12, bool A1PM);
void setA2Time(byte A2Day, byte A2Hour, byte A2Minute, byte AlarmBits, bool A2Dy, bool A2h12, bool A2PM);
void turnOnAlarm(byte Alarm);
void turnOffAlarm(byte Alarm);
bool checkAlarmEnabled(byte Alarm);
bool checkIfAlarm(byte Alarm);
void enableOscillator(bool TF, bool battery, byte frequency);
void enable32kHz(bool TF);
bool oscillatorCheck();;
private:
byte decToBcd(byte val);
byte bcdToDec(byte val);
byte readControlByte(bool which);
void writeControlByte(byte control, bool which);
};