changed button to toggle and fixed all day vs partial day code; closes #...

...894