* check commit list length before set selected commit aha
#82

* fix storing of new event with taking last update timestamp into account