Added onDateSelected listener

Please integrate this improvement of Daniel Grech.