Fixed logic for changeMonth