extend date range of calendar in toolbar
fix compiler error in code