Adding callback support for clicking on a date