Fixed clicking on days of month from main page, and fixed a rounding bug