restore credit card buttons, fix not showing events on the last day of the month on calendar