Fixed the terrible bue bug that made the program break after switching months quickly.