Showing weight entries, code refactoring