Fixed a bug in counting the number of entries.
Added xtal navigation buttons.