Removed unused argument from DiaryParser.parse.
Moved stats button creation into a view.