Fixed bug: update current date when next/prev is clicked