Properly update the month data when using F2, F4

Previously the program forgot to update this (the length of the month and the
day it starts on) and thus, the drawn calendar would be incorrect.