Just checking, the code added needs to have the tabbing as specified in that same post, otherwise it won't work. The "if" statement should have the same number of tabs before it as the "else" statement, not the same number of tabs as the "state.customcursor" line.
There should be a second panel that looks like a terminal or command prompt and starts with the game, are there any error messages on it when ending the day?