Calendar shows correct month when next button is clicked