dayClick and select functions are fixed

for issue #138